﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using VINETLIFE.DO;
using VINETLIFE.BL;

namespace VINETLIFE.Module
{
    public partial class ListMenuNews : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                rptMainMenuDataSource();
            }

        }

        private void rptMainMenuDataSource()
        {
            rptNewsMenu.DataSource = new cmsCategoryBL().SelectGetByIsContent(false);
            rptNewsMenu.DataBind();
        }
        protected string FriendlyUrl(string s)
        {
            return Ultility.Change_AV(s);
        }
    }
}